[gd_scene load_steps=5 format=3 uid="uid://cu1uco5x7o0pt"]

[ext_resource type="Script" uid="uid://b67ix5oepb1y" path="res://scripts/interactive_objects/test_light_switch.gd" id="1_t23f2"]
[ext_resource type="Material" uid="uid://c7e6bukj6jx0n" path="res://assets/materials/test_ligh_switch/test_ligh_switch_dark.tres" id="2_d2vod"]

[sub_resource type="BoxMesh" id="BoxMesh_d2vod"]
material = ExtResource("2_d2vod")
size = Vector3(0.1, 0.1, 0.05)

[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_t23f2"]
data = PackedVector3Array(-0.05, 0.05, 0.025, 0.05, 0.05, 0.025, -0.05, -0.05, 0.025, 0.05, 0.05, 0.025, 0.05, -0.05, 0.025, -0.05, -0.05, 0.025, 0.05, 0.05, -0.025, -0.05, 0.05, -0.025, 0.05, -0.05, -0.025, -0.05, 0.05, -0.025, -0.05, -0.05, -0.025, 0.05, -0.05, -0.025, 0.05, 0.05, 0.025, 0.05, 0.05, -0.025, 0.05, -0.05, 0.025, 0.05, 0.05, -0.025, 0.05, -0.05, -0.025, 0.05, -0.05, 0.025, -0.05, 0.05, -0.025, -0.05, 0.05, 0.025, -0.05, -0.05, -0.025, -0.05, 0.05, 0.025, -0.05, -0.05, 0.025, -0.05, -0.05, -0.025, 0.05, 0.05, 0.025, -0.05, 0.05, 0.025, 0.05, 0.05, -0.025, -0.05, 0.05, 0.025, -0.05, 0.05, -0.025, 0.05, 0.05, -0.025, -0.05, -0.05, 0.025, 0.05, -0.05, 0.025, -0.05, -0.05, -0.025, 0.05, -0.05, 0.025, 0.05, -0.05, -0.025, -0.05, -0.05, -0.025)

[node name="TestLightSwitch" type="Node3D"]
script = ExtResource("1_t23f2")
metadata/_custom_type_script = "uid://b3y5cvu8o8qbt"

[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("BoxMesh_d2vod")

[node name="StaticBody3D" type="StaticBody3D" parent="."]

[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_t23f2")
